package com.ks3.demo.main;

import android.content.Context;

import java.io.InputStream;
import java.util.Properties;

public class PropertiesUtils {

    private final static String m_strPath = "/assets/global.properties";

    public static Properties getProperties(Context c){
        Properties props = new Properties();
        try {
            InputStream in = PropertiesUtils.class.getResourceAsStream(m_strPath);
            props.load(in);
        } catch (Exception e) {
            e.printStackTrace();
        }
        return props;
    }
}
